﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace SMBCFamilyAssessment.Models
{

    [Serializable]
    [Table("AssessmentSession")]
    public class AssessmentSession
    {

        [Required]
        [Key]
        public int AssessmentSessionId { get; set; }
    
        public int AssessmentId { get; set; }
        public virtual List<Assessment> Assessments { get; set; }
       
        public int AssessmentTypeId { get; set; }
        public virtual List<AssessmentType> AssessmentsTypes { get; set; }
      
        public DateTime AssessmentSessionDate { get; set; }
        
        public int PersonId { get; set; }
        public virtual List<Person> Persons { get; set; }
        public int QuestionSetId { get; set; }
        public virtual List<QuestionSet> QuestionSets { get; set; }
        public int QuestionId { get; set; }
        public virtual List<Question> Questions { get; set; }
        public int Score { get; set; }
        public string CreatedBy { get; set; }
        public DateTime? DateCreated { get; set; }
        public DateTime? DateUpdated { get; set; }
        public DateTime? DatedEnded { get; set; }

        
    }
}